<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<table class="list" width="100%">
	<thead>
		<tr>
			<th width="40">操作</th>
			<th width="300">权限名称</th>
			<th>资源URI</th>
			<th width="200">HTTP方法</th>
			
		</tr>
	</thead>

	<tbody>
		<c:forEach var="perm" items="${role.permissions}">
		<tr id="permission_item_${perm.permId }">
			<!--a title="删除" rel="permission_detail" href="${BaseURL}roles/role-permission/remove/?roleId=${role.roleId}&permissionIds=${perm.permId}&_method=delete" target="ajax" class="btnDel" >删除</a-->
			<td><a href="#" title="删除" rel="permission_detail" onclick="return interceptOnClick(${perm.permId });" link="${BaseURL}roles/role-permission/remove/?roleId=${role.roleId}&permissionIds=${perm.permId}&_method=delete" id="permission_item_detail_${perm.permId }" class="btnDel">删除</a>
			<td>${perm.name}</td>
			<td>${perm.resource.uri}</td>
			<td>${perm.httpMethodStr}</td>
		</tr>
		</c:forEach>
	</tbody>
</table>